package utils;

import cn.hutool.core.date.StopWatch;

public class RunTimeUtils {
    public static void main(String[] args) throws InterruptedException {
        StopWatch stopWatch = new StopWatch();
        stopWatch.start("任务一");
        Thread.sleep(1000);
        stopWatch.stop();
        System.out.println(stopWatch.getTotalTimeSeconds());
    }
}
